$OpenBSD: patch-src_cmd_8l_asm_c,v 1.1 2016/05/11 15:53:26 jsing Exp $
--- src/cmd/8l/asm.c.orig	Mon May  2 17:14:51 2016
+++ src/cmd/8l/asm.c	Mon May  2 17:15:08 2016
@@ -497,7 +497,7 @@ adddynsym(Link *ctxt, LSym *s)
 			addaddr(ctxt, d, s);
 		
 		/* size */
-		adduint32(ctxt, d, 0);
+		adduint32(ctxt, d, s->size);
 	
 		/* type */
 		t = STB_GLOBAL << 4;
